$--color-theme: #546BEF;
$--color-gradual: #8eb0f5;
$--color-theme-bg: #353743;
$--color-theme-title: #fff;
$--color-title-tab: #f5f5f5;
@import "plugin/mixins";
body {
  font-family: "PingFang SC", 微软雅黑, "Microsoft YaHei", Helvetica, "Helvetica Neue", Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  border: none;
  position: relative;
  overflow-x: hidden;
  background: #fff !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: 100% !important;
  a {
    color: #333;
  }
  a:hover {
    text-decoration: none;
  }
  a:hover, a:focus {
    color: #333;
    text-decoration: none;
    outline: none;
  }
  address, blockquote, dl, fieldset, figure, ol, p, pre, ul {
    padding: 0;
    margin: 0;
  }

}

input{
  &::-webkit-input-placeholder{
    color: #2d2d2d!important;
  }
  &::-moz-placeholder {
    color: #2d2d2d !important;
  }
  &:-ms-input-placeholder {
    color: #2d2d2d !important;
  }
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
  height: 36px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 36px;
}
.select2-container .select2-selection--single{
  height: 36px;
}

table {
  border-color: #ddd;
}
.sidebar-hover{
  width: 140px;
  height: 100vh;
  overflow: hidden;
  background-color: #3f4252;
  position: absolute;
  left:159px;
  top:0;
  z-index: 100;
  padding-left: 20px;
  padding-top: 88px;
  display: none;
  .uk-nav-header{
    padding: 22px 0;
    font-size: 15px;
    color: #FFFFFF;
  }
  .tm-nav{
    display: none;
  }
  .tm-nav > li > a{
    padding: 6px 0;
    font-size: 14px;
    color: #B8B9C2;
  }

  .tm-nav > li > a:hover, .tm-nav > li > a:focus, .tm-nav > li.uk-active > a{
    background: #5E6379;
  }
}
.uk-panel-box-secondary{
  background:linear-gradient(-157deg, $--color-gradual 5%,  $--color-theme 100%);
  box-shadow: 0 4px 8px 0 rgba( $--color-theme,0.67);
  border-color: $--color-gradual;
  color: #fff;
  border-radius: 3px;
  font-weight: bold;
  text-align: center;
  font-size: 18px;
  padding: 34px;
  width: 101%;
}

.uk-nav-dropdown>li>a:focus, .uk-nav-dropdown>li>a:hover {
  background: $--color-theme;
}
.uk-nav>li>a {
   padding: 10px 15px;
 }
.uk-panel-box-secondary .uk-panel-title{
  color: #fff; font-weight: bold;
  font-size: 30px;


}
.main-bg{
  width: 100%;
  position: relative;
  background: url(image-path("dashboard_bg.jpg"));
  background-repeat: no-repeat;
  background-size: cover;
  overflow: auto;
  height: 100vh;
}
//登录
.sessions{
  height: 100vh;
  width: 75%;
  margin: 0 auto;
  & > div{
    position: relative;
    width: 50%;
    height: 100vh;
    & > img{
      width: 70%;
      position: absolute;
      left: 0;
      top: -20px  ;
      bottom: 0;
      right: 0;
      margin: auto;
    }
  }
}
.sessions-main {
  width: 384px;
  height: 520px;
  background: #fff;
  border-radius: 6px;
  padding: 30px 20px;
  box-shadow:  0 2px 37px 0px  rgba($--color-theme, 0.2);
  position: absolute;
  left: 0;
  top: -20px  ;
  bottom: 0;
  right: 0;
  margin: auto 0 auto auto;
  h2{
    padding: 24px 15px 0;
    margin-bottom: 37px;
    font-weight: 400;
    font-size: 40px;
    color:$--color-theme;
    font-family: PingFangSC-Semibold;
    text-align: center;
    p{
      font-size: 20px;
      color: #333333;
      font-weight:400;
      margin-top: 14px;
      font-family: PingFangSC-Regular;
      text-align: center;
      letter-spacing:0px;

    }
  }
}
.uk-form-list{
  & > p{
    margin-bottom: 2px;
    padding-left: 10px;
  }
}

.sessions-form {
  background: inherit;
  padding: 10px 15px;
  .uk-form-row {
    input[type=text], input[type=password] {
      height: 40px;
      font-size: 14px;
      background: #fff;
      padding: 8px 10px;
      color: #2d2d2d;
    }
  }
  .uk-button {
    margin-top: 40px;

  }

}

//input 颜色
.uk-form input:not([type]):focus, .uk-form input[type=text]:focus, .uk-form input[type=password]:focus, .uk-form input[type=email]:focus, .uk-form input[type=url]:focus, .uk-form input[type=search]:focus, .uk-form input[type=tel]:focus, .uk-form input[type=number]:focus, .uk-form input[type=datetime]:focus, .uk-form input[type=datetime-local]:focus, .uk-form input[type=date]:focus, .uk-form input[type=month]:focus, .uk-form input[type=time]:focus, .uk-form input[type=week]:focus, .uk-form input[type=color]:focus, .uk-form select:focus, .uk-form textarea:focus {
  background: inherit;
  border-color: rgba($--color-theme, 0.6);
}

.uk-tab>li.uk-open>a, .uk-tab>li>a:focus, .uk-tab>li>a:hover{
  background: #fff;
}


.tm-middle {
  background: #fff;
}

.tm-background {
  background: #252525;
}

.tm-middle {
  background: #fff;
  //padding: 15px 0;
}

.tm-sidebar {
  margin-right: -1px !important;
  border-right: 1px solid $--color-theme-bg;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: $--color-theme-bg;
  height: 100vh;
  max-height: 100vh;
  width: 160px;
  overflow: hidden;
  padding-left: 20px;
}
.sessions-mains{
  width: 100%;
  height: 100vh;
  h2{
    font-weight: 500;
    text-align: center;
    margin-top: 15%;
  }
  p{
    font-size: 20px;
    text-align: center;
  }
}

.tm-main {
  //padding-left: 50px !important;
  border-left: 1px solid #E5E5E5;
  padding-top:0;
  padding-bottom: 15px;
  width: calc(100% - 160px);
  padding-left:0;
  min-height: 100vh;
  .tm-article-subtitle {

    //border-left: 3px solid #1FA2D6;
    font-size: 18px;
    line-height: 36px;
    font-weight: 500;
    margin: 0;
    border-bottom: 3px solid $--color-theme;
  }
  .uk-article{
    padding: 0 35px;
    background-color:#fff;
  }
}
.tm-mains{
  //height: 100vh;
  .uk-article{
    height: calc(100vh - 96px);
    min-height: calc(100vh - 96px);
    max-height: calc(100vh - 96px);
    overflow: auto;

  }
}
.thin-scroll {
  &::-webkit-scrollbar {
    width: 5px;
  }
  &::-webkit-scrollbar-track {
    background-color: #E5E5E5;
    border-left: 5px solid transparent;
  }
  &::-webkit-scrollbar-thumb {
    background-color: #A6A6A6;
    border-left: 5px solid transparent;
    &:window-inactive {
      background: rgba(0, 0, 0, 0.1);
    }
  }
}
.horizontal-scroll {
  &::-webkit-scrollbar {
    height: 6px!important;
  }
  &::-webkit-scrollbar-track {
    background: #E5E5E5;
  }
  &::-webkit-scrollbar-thumb {
    background: #A6A6A6;
  }
}

.tm-footer a {
  color: #ddd !important;
}

.uk-form input:not([type]), .uk-form input[type=text], .uk-form input[type=password], .uk-form input[type=email], .uk-form input[type=url], .uk-form input[type=search], .uk-form input[type=tel], .uk-form input[type=number], .uk-form input[type=datetime], .uk-form input[type=datetime-local], .uk-form input[type=date], .uk-form input[type=month], .uk-form input[type=time], .uk-form input[type=week], .uk-form input[type=color], .uk-form select, .uk-form textarea {
  height: 36px;
  font-size: 13px;
  border-radius: 3px;
  border: 1px solid #b5b5b5;
  border-color: #b5b5b5;
  color: #2d2d2d;
  width: 400px;

}
.table-width{
  width: auto;
  min-width: 100%;
}
.list-search{


  .form{
    @include clearfix();
    label{
      margin-bottom: 10px;
      float: left;
      height: 36px;
      line-height: 36px;
      margin-right: 10px;
    }
    input {
      width: 184px;
      margin-bottom: 10px;
      float: left;
      margin-right: 10px;
    }
    select {
      width: 150px;
      margin-bottom: 10px;
      float: left;
      margin-right: 10px;
    }
  .select2 {
      width: 140px !important;
      float: left;
      margin-right: 6px;
    }
    .uk-button {
      margin-bottom: 10px;
      padding: 2px 15px;
      float: left;
    }
  }
}


.uk-label-inline {
  display: inherit !important;
}

.uk-navbar {
  background: #444;
  color: #fff;
}

.tm-nav .uk-navbar-nav > li.uk-open > a, .uk-navbar-nav > li:hover > a, .uk-navbar-nav > li > a:focus {
  background: #444;
  color: #fff;
}

.uk-navbar-brand {
  color: #fff;
  font-weight: 500;
}

.uk-navbar-brand:focus, .uk-navbar-brand:hover {
  color: #fff;
}

.uk-navbar-nav > li.uk-open > a, .uk-navbar-nav > li:hover > a, .uk-navbar-nav > li > a:focus {
  background-color: $--color-theme-title;
  color: $--color-theme-bg;
}

.uk-dropdown-navbar {
  background:$--color-title-tab;
  color: $--color-theme-bg;
  .uk-nav-navbar > li > a {
    color: $--color-theme-bg;
    padding: 10px 15px;
  }
  .uk-nav-navbar > li > a:focus, .uk-nav-navbar > li > a:hover {
    background: $--color-theme;
    color: #fff;
  }
}
.uk-nav-header:not(:first-child){
  margin-top: 30px;
}
.uk-nav-header{
  padding: 22px 15px;
}
.tm-nav .uk-nav-header {
  color: #fff;
  font-weight: 500;
  font-size: 16px;

}

.tm-navbar {
  position: relative;
  padding: 5px 0 ;
  border: none;
  background: #fbfbfb;
  color: $--color-theme-bg;
  border-bottom: 1px solid #eee;
  margin: 0 0 15px ;

}

.uk-navbar-nav > li.uk-open > a, .uk-navbar-nav > li:hover > a, .uk-navbar-nav > li > a:focus {
  background-color:$--color-title-tab;
}

.uk-navbar-nav > li > a:active {
  background-color:$--color-title-tab;
}

.tm-navbar .uk-navbar-nav > li.uk-active > a {
  background-color: $--color-theme;
  color: #FFF;
}
.tm-nav > li {
  margin-bottom: 5px;
}
.tm-nav > li > a:hover, .tm-nav > li > a:focus, .tm-nav > li.uk-active > a {
  background: $--color-theme;
  color: #fff;
  border-radius: 4px 0 0 4px;
}

.tm-navbar .uk-navbar-nav > li > a {
  height: 40px;
  margin: 0;
  border: none;
  border-radius: 3px !important;
  text-shadow: none;
  font-size: 15px;
  color: $--color-theme-bg;
}

.tm-nav > li > a {
  color: #fff;
  padding: 12px 15px;
  font-size: 16px;
  span {
    margin-left: 4px;
  }
}

//new
#cke_hospital_information {
  width: 600px;
}

.uk-form-horizontal .uk-form-label {
  width: 140px;
  font-size: 14px;
  color: #2a2a2c;
  line-height: 36px;
  margin-top: 0;
}

.uk-form-horizontal .uk-form-controls {
  margin-left: 140px;
}

.uk-nav ul a {
  padding: 8px 0 8px 22px;
}

.uk-label-inline {
  display: inherit !important;
}

.format-money {
  text-align: right;
}

.uk-table td {
  vertical-align: inherit;
  padding: 8px 8px;
}
.uk-table-striped img{
 width: 110px;

}

.uk-table-striped thead tr {
  border: 1px solid #ececec;

}

.uk-table-striped tbody tr:nth-of-type(odd) {
  background: #fafafa;
  border: 1px solid #ececec;
}

.uk-table-striped tbody tr:nth-of-type(even) {
  border: 1px solid #ececec;
}

.uk-table-hover tbody tr:hover {
  background: #fafafa;
}

.uk-table th {
  font-size: 12px;
  padding: 11px 8px;
}
.uk-table{
  .uk-button{
    margin-bottom: 10px;
    margin-right: 8px;
  }
  .uk-button + .uk-button{

    margin-left: 0;
  }
}
.uk-button {
  font-weight: 500;
  border-radius: 3px !important;
  background: #e5e5e5;
  border: 1px solid #c2c2c2;
  border-color: #c2c2c2;
  color: #606266;
  padding: 0 15px;
  transition: .1s;
  font-size: 13px;
  & + .uk-button {
    margin-left: 10px;
  }
}

.uk-button-mini {
  padding: 4px 8px;
}

.tm-search {
  padding: 2px 15px;
}

.uk-button:focus, .uk-button:hover {
  color: #4b4b4b;
  border-color:#808080;
  background: #fbfbfb ;
}

.uk-button-primary {
  color: #fff !important;
  background: #20a0ff;
  border-color: #20a0ff;
}

.uk-button-primary:focus, .uk-button-primary:hover {
  background: #50b0f7;
  border-color: #50b0f7;
}

.uk-button-danger {
  color: #fff !important;
  background: #f56c6c;
  border-color: #f56c6c;
}

.uk-button-danger:focus, .uk-button-danger:hover {
  background: #f78989;
  border-color: #f78989;
}

.uk-button-success {
  color: #fff !important;
  background: #67c23a;
  border-color: #67c23a;
}

.uk-button-success:focus, .uk-button-success:hover {
  background: #85ce61;
  border-color: #85ce61;
}

.uk-button-warning {
  color: #fff !important;
  background: #e6a23c;
  border-color: #e6a23c;
}

.uk-button-warning:focus, .uk-button-warning:hover {
  background: #ebb563;
  border-color: #ebb563;
}
.uk-button-theme-width{
  width: 240px;
}
.uk-button-theme{
  background: #546BEF;
  box-shadow: 0 0 14px 0 rgba(84,107,239,0.44);
  border-color: #546BEF;
  color: #fff!important;
}
.uk-button-theme:focus, .uk-button-theme:hover {
  background: $--color-gradual;
  border-color: $--color-gradual;
}
.uk-button--info-ins{
  padding: 4px 14px!important;
  color: #808080 !important;
  background: #fbfbfb;
  border-color: #fbfbfb;
}
.uk-button--info-ins:focus, .uk-button--info-ins:hover {
  background: #fbfbfb;
  border-color: #fbfbfb;
}
.uk-button--info{
  color: #fff !important;
  background: #909399;
  border-color: #909399;
}
.uk-button--info:focus, .uk-button--info:hover {
  background: #a6a9ad;
  border-color: #a6a9ad;
}
.is-plain{
  color: #909399 !important;
  background: #f4f4f5;
  border-color: #d3d4d6;
}
.is-plain:focus, .is-plain:hover{
  color: #fff !important;
  background: #909399;
  border-color: #909399;
}

.radio-component {
  padding: 10px 20px 20px;
}

.record-list-input {
  padding-top: 12px;
  margin-right: 10px;
  input[type="radio"] {
    display: none;
  }
  input[type="radio"] + label {
    display: inline-block;
    width: 19px;
    height: 19px;
  }
  input[type="radio"] + label span {
    display: inline-block;
    border-radius: 100%;
    width: 17px;
    height: 17px;
    line-height: 16px;
    text-align: center;
    background-color: inherit;
    cursor: pointer;
    color: #eee;
    margin-top: 2px;
    border: 1px solid $--color-theme;
    font-size: 12px;
  }
  input[type="radio"]:checked + label span {
    cursor: pointer;
    border: none;
    width: 17px;
    height: 17px;
    line-height: 14px;
    background-color: $--color-theme;
    color: #fff;
  }
}

.uk-controls-padding {
  padding: 10px 0;
}

.uk-form-controls {
  & > label {
    margin-right: 10px;
    height: 36px;
    line-height: 36px;
    input[type="text"] {
      width: 150px;
      margin-top: -4px;
      font-size: 13px;
      border-radius: 3px;
      border: 1px solid #dcdfe6;
      border-color: #dcdfe6;;
    }
  }
  textarea {
    width: 400px !important;
  }
  #upload-drop {
    .uk-form-file button {
      padding: 11px 10px;
    }
  }
  .selects {
    width: 198px;
  }
  table {
    width: 400px;
    td {
      input {
        width: 20px;
      }
    }
  }
}

#cascade-container {
  select {
    width: 198px;
  }
}

.uk-placeholder {
  width: 400px;
}

label input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  margin: 0;
  float: left;
  margin-right: 6px;
  margin-top: 9px;
  position: relative;
}

label input[type="radio"]:after {
  display: block;
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #dcdfe6;

}

label input[type="radio"]:before {
  display: block;
  content: "";
  width: 10px;
  height: 10px;
  background: inherit;
  border-radius: 50%;
  position: absolute;
  left: 4px;
  top: 4px;

}

label input[type="radio"]:checked:before {
  background: $--color-theme;

}

label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  margin: 0;
  float: left;
  margin-right: 6px;
  margin-top: 2px;
  position: relative;
}

label input[type="checkbox"]:after {
  display: block;
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #dcdfe6;

}

label input[type="checkbox"]:before {
  display: block;
  content: "\00a0";
  border: 4px solid #fff;
  width: 13px;
  height: 7px;
  transform: rotate(-50deg);
  -ms-transform: rotate(-50deg);
  -moz-transform: rotate(-50deg);
  -webkit-transform: rotate(-50deg);
  -o-transform: rotate(-50deg);
  position: absolute;
  top: 4px;
  left: 3px;
}

label input[type="checkbox"]:checked:before {
  border: 2px solid $--color-theme;
  border-top-width: 0;
  border-right-width: 0;
}
.uk-tab{
  li{
    a{
      color: $--color-theme;
    }
  }
}
.uk-tab>li.uk-open>a, .uk-tab>li>a:focus, .uk-tab>li>a:hover{
  color: #5266f2;
}
.uk-tab>li.uk-active>a{
  color: #444!important;
}
.uk-navbar-brand, .uk-navbar-content, .uk-navbar-toggle{
 padding: 0 0;
}
//simple_form
.radio_buttons{
  .uk-form-controls{
    &>span{
      height: 36px;
      padding: 9px 0;
      margin-right: 10px;
      label input[type="radio"]{
        margin-top: 1px;
      }
    }
  }
}
.color_for_check{
  width: 25px!important;
}
